﻿2006 BMW Alpina B7L (E66)
----------------------------------------------------------------------------------------------------
Base model credits: joker911, DAGDRIVE
Some Textures: DrAgOn777
Conversion/Adaption for GTAV: HRH
----------------------------------------------------------------------------------------------------
Features:
- B7 aerokit, C01 rims, "deko-set", brakes, exhaust.
- 3-spoke MF steering wheel, "Redwood" trim, plaque, seats, dashboard.
- H1/1 supercharged engine. 500bhp/700nm.  
- Selection of Alpina exterior & interior colors upon spawn.
- [PAINT:1] body. [PAINT:2] deko-set. [PAINT:4] default rim. [PAINT:6] primary leather. [PAINT:7] upholstery.
- Complimentary tuning.
- Optional extras.
- Fog lights + Angel Eyes lighting setup.
- Level of detail L0-L2.
- Supports major game features.
- It is strongly advised to use this mod as add-on for complete experience.

Spawn Alias: b7l06
Tuning ID: 685
Replaced Vehicle: ORACLE
----------------------------------------------------------------------------------------------------
How to install:
....................................................................................................
If this is your first time to install a car mod in GTAV, then please read this: https://forums.gta5-mods.com/topic/1451/tutorial-grand-theft-auto-v-modding-a-few-things-you-should-know (especially 3.paragraph).
....................................................................................................
Replace version:
1. Go to this mod´s "Replace" folder.
2. Open OPENIV and go to mods/x64e.rpf/levels/gta5/vehicles.rpf
3. Find "oracle.yft", "oracle.ytd" & "oracle_hi.yft" and replace them with the same 3 files from "Replace" folder.
4. Edit "vehicles.meta" in mods/update/update.rpf/common/data/levels/gta5
6. Use CTRL+F to search "ORACLE".
7. Replace following lines in game-file.
   <Item>
      <modelName>oracle</modelName>
      <txdName>oracle</txdName>
      <handlingId>ORACLE</handlingId>
      <gameName>B7L06</gameName>
      <vehicleMakeName>ALPINA</vehicleMakeName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>REVOLTER</audioNameHash>
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>ORACLE_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.050000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.010000" z="-0.020000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.115000" y="-0.040000" z="-0.050000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="-0.115000" y="-0.040000" z="-0.050000" />
	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="0.000000" />
	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.060000" z="-0.030000" />
	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.166000" y="0.261000" z="0.498000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.385000" />
	  <FirstPersonMobilePhoneSeatIKOffset>
		<Item>
			<Offset x="0.136000" y="0.116000" z="0.435000" />
			<SeatIndex value="2" />
		</Item>
		<Item>
			<Offset x="0.136000" y="0.116000" z="0.435000" />
			<SeatIndex value="3" />
		</Item>
	  </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.220000" z="0.620000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="-0.025000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="true" />
      <AllowSundayDriving value="true" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.298100" />
      <wheelScaleRear value="0.298100" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.850000" />
      <envEffScaleMin value="0.000000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.750000" />
      <damageOffsetScale value="0.700000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="1.000000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        50.000000
        100.000000
        470.000000
        480.000000
        490.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.882" />
      <identicalModelSpawnDistance value="150" />
      <maxNumOfSameColor value="1" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="10" />
      <swankness>SWANKNESS_3</swankness>
      <maxNum value="2" />
      <flags>FLAG_PARKING_SENSORS FLAG_RICH_CAR FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
	  <dashboardType>VDT_SUPERGT</dashboardType>
      <vehicleClass>VC_SEDAN</vehicleClass>
      <wheelType>VWT_HIEND</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers />
      <extraIncludes>
			</extraIncludes>
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras>
			  <item>EXTRA_4</item>
			</requiredExtras>
      <rewards />
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet />
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
	  <firstPersonDrivebyData>
        <Item>STD_ORACLE_FRONT_LEFT</Item>
        <Item>STD_ORACLE_FRONT_RIGHT</Item>
		<Item>STD_ORACLE_REAR_LEFT</Item>
		<Item>STD_ORACLE_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>
8. Edit "handling.meta" in mods/update/update.rpf/common/data
9. Use CTRL+F to find "ORACLE"
10. Replace following lines in game-file:
	<Item type="CHandlingData">
      <handlingName>ORACLE</handlingName>
      <fMass value="2850.000000" />
      <fInitialDragCoeff value="4.100000" />
      <fPercentSubmerged value="85.000000" />
      <vecCentreOfMassOffset x="0.000000" y="-0.10000" z="-0.200000" />
      <vecInertiaMultiplier x="1.200000" y="1.300000" z="1.800000" />
      <fDriveBiasFront value="0.000000" />
      <nInitialDriveGears value="6" />
      <fInitialDriveForce value="0.20000" />
      <fDriveInertia value="1.50000" />
      <fClutchChangeRateScaleUpShift value="2.000000" />
      <fClutchChangeRateScaleDownShift value="2.500000" />
      <fInitialDriveMaxFlatVel value="300.000000" />
      <fBrakeForce value="0.45000" />
      <fBrakeBiasFront value="0.430000" />
      <fHandBrakeForce value="0.600000" />
      <fSteeringLock value="40.000000" />
      <fTractionCurveMax value="2.550000" />
      <fTractionCurveMin value="2.050000" />
      <fTractionCurveLateral value="52.500000" />
      <fTractionSpringDeltaMax value="0.150000" />
      <fLowSpeedTractionLossMult value="1.000000" />
      <fCamberStiffnesss value="0.000000" />
      <fTractionBiasFront value="0.470000" />
      <fTractionLossMult value="1.000000" />
      <fSuspensionForce value="2.850000" />
      <fSuspensionCompDamp value="1.600000" />
      <fSuspensionReboundDamp value="2.400000" />
      <fSuspensionUpperLimit value="0.095000" />
      <fSuspensionLowerLimit value="-0.150000" />
      <fSuspensionRaise value="-0.04000" />
      <fSuspensionBiasFront value="0.470000" />
      <fAntiRollBarForce value="0.70000" />
      <fAntiRollBarBiasFront value="0.600000" />
      <fRollCentreHeightFront value="0.300000" />
      <fRollCentreHeightRear value="0.310000" />
      <fCollisionDamageMult value="0.700000" />
      <fWeaponDamageMult value="1.000000" />
      <fDeformationDamageMult value="0.700000" />
      <fEngineDamageMult value="1.500000" />
      <fPetrolTankVolume value="65.000000" />
      <fOilVolume value="5.000000" />
      <fSeatOffsetDistX value="0.000000" />
      <fSeatOffsetDistY value="-0.200000" />
      <fSeatOffsetDistZ value="-0.100000" />
      <nMonetaryValue value="35000" />
      <strModelFlags>440010</strModelFlags>
      <strHandlingFlags>0</strHandlingFlags>
      <strDamageFlags>0</strDamageFlags>
      <AIHandling>AVERAGE</AIHandling>
      <SubHandlingData>
        <Item type="CCarHandlingData">
          <fBackEndPopUpCarImpulseMult value="0.100000" />
          <fBackEndPopUpBuildingImpulseMult value="0.030000" />
          <fBackEndPopUpMaxDeltaSpeed value="0.600000" />
        </Item>
        <Item type="NULL" />
        <Item type="NULL" />
      </SubHandlingData>
    </Item>
11. Edit "carvariations.ymt" in mods/update/update.rpf/x64/data
12. Use CTRL+F to find "ORACLE"
13. Replace following lines in game-file.
    <Item>
      <modelName>oracle</modelName>
      <colors>
<Item>
          <indices content="char_array">
            6 
            1 
            37 
            156
												112
												1
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
	<Item>
          <indices content="char_array">
            76 
            4 
            11 
            156
												112
												1
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
								<Item>
          <indices content="char_array">
            71 
            37 
            11 
            156
												107
												107
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
	       <Item>
          <indices content="char_array">
            147 
            4 
            11 
            156
												22
												1
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Standard White</Name>
            <Value value="25" />
          </Item>
          <Item>
            <Name>White Plate 2</Name>
            <Value value="50" />
          </Item>
          <Item>
            <Name>Blue Plate</Name>
            <Value value="10" />
          </Item>
          <Item>
            <Name>Yellow Plate</Name>
            <Value value="15" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="0" />
    </Item>
14. DONE!

....................................................................................................
Add-on version:
1. Put folder "b7l06" into mods/update/x64/dlcpacks
2. Open "dlclist.xml" in update/update.rpf/common/data
3. Add line into the list:
    <Item>dlcpacks:\b7l06\</Item>
4. Save and put back inside update/update.rpf/common/data
5. Play the game and spawn with "b7l06"
----------------------------------------------------------------------------------------------------
It is recommended that you use OpenIV's "mods"-folder feature (http://openiv.com/?p=1132).
-----------------------------------------------------------------------------------------------------
SUPPORT THE DEVELOPER! PLEASE BUY THE GAME!
